Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jv increase throttle time for time error #1515

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

JoukoVirtanen
Copy link
Contributor

@JoukoVirtanen JoukoVirtanen commented Jan 25, 2024

Description

Sometimes the timestamp of an event is far in the past or in the future. There is logging to catch this. This logging is already throttled so that it does not flood the log. However, the logging is still too much. This makes it so that the frequency of the logging is reduced.

Checklist

  • Investigated and inspected CI test results
    - [ ] Updated documentation accordingly

Automated testing
~~ - [ ] Added unit tests~~
~~ - [ ] Added integration tests~~
~~ - [ ] Added regression tests~~

If any of these don't apply, please comment below.

Testing Performed

TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why you did not do so. (Valid reasons include "CI is sufficient" or "No testable changes")
In addition to reviewing your code, reviewers must also review your testing instructions, and make sure they are sufficient.

For more details, ref the Confluence page about this section.

@JoukoVirtanen JoukoVirtanen requested a review from a team as a code owner January 25, 2024 04:42
Copy link
Contributor

@ovalenti ovalenti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very large increase. But it will definitely lower the flood of logs, and we will still know that something is happening.

We could count the number of throttled occurrences ? (untested code) What do you think ?

Overall, looks good to me !

@JoukoVirtanen JoukoVirtanen merged commit 5009a00 into master Jan 25, 2024
49 of 50 checks passed
@JoukoVirtanen JoukoVirtanen deleted the jv-increase-throttle-time-for-time-error branch January 25, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants